# -*- mode: snippet -*-
# name : switch (...) { case : ... default: ...}
# key: switch
# --
switch (${1:expr})
{
case ${2:constexpr}: // ${3:comment}
{
    $0
    }
    break;
default:
    break;
}